
<div style="width: 100%;" >
    <div style="width: 25%;min-height: 710px;border-right: 1px dashed grey;overflow: auto;">
        <div style="width: 100%;" >

        </div>
        <div style="width: 100%;height: 600px;overflow: auto;" >
            <ul id="index_lm_tree" class="ztree" ></ul>
        </div>

    </div>
    <div style="width: 74%;padding-left: 20px;">
        <ul class="nav nav-tabs" id="index_lm_ul">
            <li class="active"><a href="javascript:void(0);" onclick="index_lm_tab(0)">属性信息</a></li>
            <li ><a href="javascript:void(0);" onclick="index_lm_tab(1)">规则集</a></li>
            <li ><a href="javascript:void(0);" onclick="index_lm_tab(2)">脚本测试</a></li>
            <li ><a href="javascript:void(0);" onclick="index_lm_tab(3)">接口发布</a></li>
        </ul>
        <div id="index_lm_cont_0" style="width: 100%;">
            <table class="table">
                <caption>
                    <button type="button" class="btn btn-info" onclick="gzkgl_add_bianliang()">添加变量</button>
                    <button type="button" class="btn btn-info" onclick="gzkgl_create_templage()">生成规则导入模板</button>
                </caption>
                <thead>
                <tr>
                    <th>变量名称</th>
                    <th>变量类型</th>
                    <th>应用</th>
                    <th>描述</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody id="index_lm_cont_0_content">
                <tr>
                    <td>暂无数据</td>
                </tr>
                </tbody>
            </table>

        </div>
        <div id="index_lm_cont_1" style="width: 100%;display: none;">
            <table class="table">
                <caption>
                    <button type="button" class="btn btn-info" onclick="index_gzkgl_addgz()">添加规则集</button>
                    <button type="button" class="btn btn-info" onclick="import_excelrule()">批量导入规则</button>
                    <button type="button" class="btn btn-success" onclick="initrulelist()">执行应用</button>
                    <button type="button" class="btn btn-info" onclick="">SPEL表达式帮助</button>
                    <button type="button" class="btn btn-info" onclick="">MVEL表达式帮助</button>
                </caption>
                <thead>
                <tr>
                    <th>序号</th>
                    <th>规则集名称</th>
                    <th>规则集描述</th>
                    <th>规则集状态</th>
                    <th>创建时间</th>
                    <th>规则数量</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody id="index_lm_doc_content">
                <tr>
                    <td>暂无数据</td>
                </tr>
                </tbody>
            </table>
            <!--分页-->
            <div  style="text-align: center;margin-left: 40%;">
                <ul id="index_lm_cont_1_page"  style="margin: 0;"></ul>
            </div>
        </div>
        <div id="index_lm_cont_2" style="width: 100%;display: none;">
            <table class="table">
                <caption>
                    <button type="button" class="btn btn-info" onclick="rule_script_test()">执行测试</button>
                </caption>
                <thead>
                <tr>
                    <th>变量名称</th>
                    <th>变量类型</th>
                    <th>应用类型</th>
                    <th>值</th>
                </tr>
                </thead>
                <tbody id="index_lm_cont_2_content">
                <tr>
                    <td>暂无数据</td>
                </tr>
                </tbody>
            </table>
            <!-- 加载json格式化显示器 -->
            <div style="float: left;width: 100%;">
                <pre id="rule_doc_container"  style="width: 100%;float: left;" ></pre>
            </div>
        </div>
        <div id="index_lm_cont_3" style="width: 100%;padding: 20px;display: none;">
            <div class="form-group" style="width: 100%;padding-bottom: 20px;border-bottom: thick dotted #C0C0C0;">
                <div style="width: 100%;">
                    <label for="server_api_token">apitoken:</label>
                    <div style="width: 100%;margin-left: 1%;">
                        <input type="text" class="form-control" id="server_api_token" placeholder="接口权限" style="" readonly="readonly">
                    </div>

                </div>
                <button type="button" class="btn btn-info" style="margin-top: 5px;float: right;" onclick="createServiceToken()">生成接口Token</button>
            </div>

            <div class="form-group" style="width: 100%;padding-bottom: 20px;border-bottom: thick dotted #C0C0C0;">
                <label for="gzkfladdress">接口地址：</label>
                <div style="width: 100%;">
                    <div id="findservicepath_id" style="font-size: 20px;letter-spacing: 1px;line-height: 33px;">
                        暂无数据
                    </div>
                    <div style="width: 30%;margin-left: 1%;">
                        <input type="text" class="form-control" id="gzkfladdress" placeholder="请输入接口地址">
                    </div>
                </div>

                <button type="button" class="btn btn-info" style="margin-top: 5px;float: right;" onclick="gzkflservicepub()">接口发布</button>
            </div>

            <div style="width: 100%;">
                <table class="table">
                    <caption style="color: black;font-weight: bold;">接口状态：</caption>
                    <tbody>
                    <tr>
                        <td style="width: 20%;">发布状态：</td>
                        <td id="gzkfl_service_status">未发布</td>
                    </tr>
                    <tr>
                        <td>发布类型：</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>请求头（Content-Type）：</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>响应头（Content-Type）：</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>请求参数：</td>
                        <td></td>
                    </tr>
                    <tr>
                        <td>返回参数：</td>
                        <td></td>
                    </tr>
                    </tbody>
                </table>


            </div>

        </div>



    </div>

</div>


<script type="text/javascript" src="./js/index_gzkgl.js?xxssssx"></script>



<ul id="index_lm_youjian" class="list-group" style="position: absolute;margin-left: 100px;display: none;" onmouseout="index_lm_youjian_unb()" onmouseover="index_lm_youjian_over()" >
    <li class="list-group-item">
        <a href="javascript:void(0);" onclick="index_lm_youjian_addnode()">添加节点</a>
    </li>
    <li class="list-group-item">
        <a href="javascript:void(0);" onclick="index_lm_youjian_deletenode()">删除节点</a>
    </li>
    <li class="list-group-item">
        <p id="index_lm_youjian_cateid"></p>
    </li>
</ul>


